import type { KnowledgeDetail } from '@/types/knowledge';
import { basicKnowledge } from './basic/basic';
import { oopKnowledge } from './oop/oop';
import { coreKnowledge } from './core/core';
import { advancedKnowledge } from './advanced/advanced';
import { java8Knowledge } from './java8/java8';
import { jvmKnowledge } from './jvm/jvm';
import { patternKnowledge } from './pattern/pattern';

/**
 * Java所有分类知识点（合并）
 */
export const allKnowledgeCards: KnowledgeDetail[] = [
	...basicKnowledge,
	...oopKnowledge,
	...coreKnowledge,
	...advancedKnowledge,
	...java8Knowledge,
	...jvmKnowledge,
	...patternKnowledge
];

/**
 * 导出各个分类的知识点
 */
export { basicKnowledge } from './basic/basic';
export { oopKnowledge } from './oop/oop';
export { coreKnowledge } from './core/core';
export { advancedKnowledge } from './advanced/advanced';
export { java8Knowledge } from './java8/java8';
export { jvmKnowledge } from './jvm/jvm';
export { patternKnowledge } from './pattern/pattern';

